package com.zhuang.mycodeproject.poiUtil;

import java.util.ArrayList;
import java.util.List;

public class Person {
    private String no;
    private String name;
    private Integer sex;
    private Integer age;

    public Person() {
    }

    public Person(String no, String name, Integer sex) {
        this.no = no;
        this.name = name;
        this.sex = sex;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public static List<Person> getListData(){
        List<Person> list = new ArrayList<>();
        for(int i=0;i<10;i++){
            list.add(new Person(i+"","张"+i,1));
        }
        return list;
    }
}
